#!/bin/bash
set -e

script_dir="$(realpath $(dirname $0))"
source "$script_dir/util-lib.sh"
skip_if_no_changed_file_match "^(backend|concourse)"

source "$HOME/.bashrc"
python_version=${1:-3.9.6}
pyenv shell "$python_version"

cd backend
pip install -r requirements-devtool.txt
flake8 --version
isort --version
black --version
flake8
